/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.source.service.time;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.source.dao.time.EleSourceDateDao;
import com.thinkgem.jeesite.modules.source.entity.time.EleSourceDate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 日期资源维护Service
 * @author ZC
 * @version 2017-04-19
 */
@Service
@Transactional(readOnly = true)
public class EleSourceDateService extends CrudService<EleSourceDateDao, EleSourceDate> {

	public EleSourceDate get(String id) {
		return super.get(id);
	}
	
	public List<EleSourceDate> findList(EleSourceDate eleSourceDate) {
		return super.findList(eleSourceDate);
	}
	
	public Page<EleSourceDate> findPage(Page<EleSourceDate> page, EleSourceDate eleSourceDate) {
		return super.findPage(page, eleSourceDate);
	}
	
	@Transactional(readOnly = false)
	public void save(EleSourceDate eleSourceDate) {
		super.save(eleSourceDate);
	}
	
	@Transactional(readOnly = false)
	public void delete(EleSourceDate eleSourceDate) {
		super.delete(eleSourceDate);
	}
	
}